import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from "@ionic/angular";



import { IntelligentShoppingRoutingModule } from './intelligent-shopping-routing.module';
import { PageHomeComponent } from './page-home/page-home.component';
import { PageCategoryComponent } from './page-category/page-category.component';
import { PageShoppingcartComponent } from './page-shoppingcart/page-shoppingcart.component';
import { PageMyComponent } from './page-my/page-my.component';
import { PageDetailComponent } from './page-detail/page-detail.component';
import { CompTagNavbarComponent } from './comp-tag-navbar/comp-tag-navbar.component';
import { CompStarRatingComponent } from './comp-star-rating/comp-star-rating.component';
import { TokPipe } from './sumPrice.pipe';
import { TolowPipe } from './tolow.pipe';
import { PagePayComponent } from './page-pay/page-pay.component';
import { PageLoginComponent } from './page-login/page-login.component';
import { CartService } from './cart.service';
import { PageSetComponent } from './page-set/page-set.component';
import { PageAddressComponent } from './page-address/page-address.component';
import { PageRegisterComponent } from './page-register/page-register.component';
import { CompImgSliderComponent } from './comp-img-slider/comp-img-slider.component';
import { PageSafetyComponent } from './page-safety/page-safety.component';
import { PageSearchComponent } from './page-search/page-search.component';
import { PageOrderComponent } from './page-order/page-order.component';
import { FormsModule } from '@angular/forms';
import { PageCommentComponent } from './page-comment/page-comment.component';

@NgModule({
  declarations: [
    PageHomeComponent,
    PageCategoryComponent,
    PageShoppingcartComponent,
    PageMyComponent,
    PageDetailComponent,
    CompTagNavbarComponent,
    CompStarRatingComponent,
    TokPipe,
    TolowPipe,
    PagePayComponent,
    PageLoginComponent,
    PageSetComponent,
    PageAddressComponent,
    PageRegisterComponent,
    CompImgSliderComponent,
    PageSafetyComponent,
    PageSearchComponent,
    PageOrderComponent,
    PageCommentComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    IntelligentShoppingRoutingModule,
    IonicModule.forRoot({ mode: 'ios' })
  ],
  providers:[
    CartService
  ]
})
export class IntelligentShoppingModule { }
